<?php 

namespace app\comment;

class redis{

    public $redisClient;
    public function __construct(){
        $this->redisClient =new swoole_redis;
        $this->redisClient->on("connect",[$this,'onConnect']);
    }
    
    public  function onConnect(){
        
    }
    
    
}

